package com.cy.wangly.springcore.service;

import org.springframework.stereotype.Service;

@Service
public class TestBeanOne {

    private int i;

    public TestBeanOne() {
        System.out.println(" init testBeanOne ");
    }

    public TestBeanOne(int i) {
        this.i = i;
        System.out.println(" init TestBeanTwo by param:" + i);
    }

    public void print() {
        System.out.println(" one is print ");
    }
}
